package org.jcut.dao;

import java.util.List;

import org.jcut.bean.Comment;
import org.springframework.stereotype.Repository;

@Repository
public interface IComment {
    int deleteByPrimaryKey(String id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKeyWithBLOBs(Comment record);

    int updateByPrimaryKey(Comment record);
    
    long isComment(String fId);
    
    List<Comment> selectByCid(String cId);
    
    List<Comment> selectAdmin();
    
    int updateDis(Comment comment);
}